The aim of this article is to compare different approaches to forecasting the US yield curve factors derived using the Nelson-Siegel (NS) model. Using daily US swap yield data from 1990 to 2026, we assess the Autoregressive Integrated Moving Average (ARIMA), Vector Autoregression (VAR) and Random Forest (RF) models in a 1-day-ahead and 1- to 20-day-ahead forecasting competition. The principal finding of this study is that ARIMA significantly outperforms the RF in forecasting the NS model factors, as does VAR, although only in terms of the Level and Curvature factors. The results of this study thus suggest that the use of machine learning methods, in the case of the US yield curve, is not always superior.
yield curve, forecasting, Nelson-Siegel model, machine learning
C53, C58, E43
Akram, T., & Li, H. (2024). Empirical Models of JGB Yields Using Daily Data. Journal of Economic Issues, 58(3), 1011–1034. https://doi.org/10.1080/00213624.2024.2382051.
Bekaert, G., Hoerova, M., & Lo Duca, M. (2013). Risk, uncertainty and monetary policy. Journal of Monetary Economics, 60(7), 771–788. https://doi.org/10.1016/j.jmoneco.2013.06.003.
Bergstra, J., & Bengio, Y. (2012). Random Search for Hyper-Parameter Optimization. Journal of Machine Learning Research, 13(10), 281–305. https://www.jmlr.org/papers/volume13/bergstra12a/bergstra12a.pdf.
Bie, S., Diebold, F. X., He, J., & Li, J. (2024). Machine Learning and the Yield Curve: Tree-Based Macroeconomic Regime Switching. https://doi.org/10.2139/ssrn.4934442.
Breiman, L. (2001). Random Forests. Machine Learning, 45, 5–32. https://doi.org/10.1023/A:1010933404324.
Cadahia Delgado, P., Congregado, E., Golpe, A. A., & Vides, J. C. (2022). The Yield Curve as a Recession Leading Indicator. An Application for Gradient Boosting and Random Forest. International Journal of Interactive Multimedia and Artificial Intelligence, 7(3), 7–19. https://doi.org/10.9781/ijimai.2022.02.006.
Christensen, J. H. E., Diebold, F. X., & Rudebusch, G. D. (2011). The affine arbitrage-free class of Nelson–Siegel term structure models. Journal of Econometrics, 164(1), 4–20. https://doi.org/10.1016/j.jeconom.2011.02.011.
Diebold, F. X., & Li, C. (2006). Forecasting the term structure of government bond yields. Journal of Econometrics, 130(2), 337–364. https://doi.org/10.1016/j.jeconom.2005.03.005.
Diebold, F. X., & Mariano, R. S. (1995). Comparing Predictive Accuracy. Journal of Business & Economic Statistics, 13(3), 253–263. https://doi.org/10.1080/07350015.1995.10524599.
Diebold, F. X., Rudebusch, G. D., & Aruoba, S. B. (2006). The macroeconomy and the yield curve: a dynamic latent factor approach. Journal of Econometrics, 131(1–2), 309–338. https://doi.org/10.1016/j.jeconom.2005.01.011.
Gilchrist, S., & Zakrajšek, E. (2012). Credit Spreads and Business Cycle Fluctuations. The American Economic Review, 102(4), 1692–1720. https://doi.org/10.1257/aer.102.4.1692.
Goehry, B., Yan, H., Goude, Y., Massart, P., & Poggi, J.-M. (2023). Random Forests for Time Series. REVSTAT – Statistical Journal, 21(2), 283–302. https://doi.org/10.57805/revstat.v21i2.400.
Hamilton, J. D. (1994). Time Series Analysis. Princeton University Press.
Hewamalage, H., Ackermann, K., & Bergmeir, C. (2022). Forecast evaluation for data scientists: common pitfalls and best practices. Data Mining and Knowledge Discovery, 37, 788–832. https://doi.org/10.1007/s10618-022-00894-5.
James, G., Witten, D., Hastie, T., & Tibshirani, R. (2021). An Introduction to Statistical Learning (2nd ed.). Springer.
Jarque, C. M., & Bera, A. K. (1980). Efficient tests for normality, homoscedasticity and serial independence of regression residuals. Economics Letters, 6(3), 255–259. https://doi.org/10.1016/0165-1765(80)90024-5.
Kim, W. J., Jung, G., & Choi, S.-Y. (2020). Forecasting CDS Term Structure Based on Nelson–Siegel Model and Machine Learning. Complexity, 1, 1–23. https://doi.org/10.1155/2020/2518283.
Kostyra, T. P., & Rubaszek, M. (2020). Forecasting the Yield Curve for Poland. Econometric Research in Finance, 5(2), 103–117. https://doi.org/10.2478/erfin-2020-0006.
Nelson, C. R., & Siegel, A. F. (1987). Parsimonious Modeling of Yield Curves. The Journal of Business, 60(4), 473–489.
Puglia, M., & Tucker, A. (2020). Machine Learning, the Treasury Yield Curve and Recession Forecasting (Finance and Economics Discussion Series 2020-038). https://doi.org/10.17016/feds.2020.038.
Rayeni, A., & Naderi, H. (2025). Predicting the Canadian Yield Curve Using Machine Learning Techniques. International Journal of Financial Studies, 13(3), 1–30. https://doi.org/10.3390/ijfs13030170.
Richman, R., & Scognamiglio, S. (2024). Multiple yield curve modeling and forecasting using deep learning. ASTIN Bulletin, 54(3), 463–494. https://doi.org/10.1017/asb.2024.26.
Rubaszek, M. (2012). Modelowanie polskiej gospodarki z pakietem R. Oficyna Wydawnicza SGH.
Rubaszek, M., & Sznajderska, A. (2026). Data leakage in time-series forecasting: Lessons from exchange rate prediction.
Santos Soares, S. A. (2025). Eu-Bonds Yield Curve Forecast: Comparing ARIMA and XGBoost Models [master’s thesis, Lisbon School of Economics & Management].
Sims, C. A. (1980). Macroeconomics and Reality. Econometrica, 48(1), 1–48. https://doi.org/10.2307/1912017.
Stambaugh, R. F. (1999). Predictive regressions. Journal of Financial Economics, 54(3), 375–421. https://doi.org/10.1016/s0304-405x(99)00041-0.
Wright, M. N., & Ziegler, A. (2017). ranger: A Fast Implementation of Random Forests for High Dimensional Data in C++ and R. Journal of Statistical Software, 77(1), 1–17. https://doi.org/10.18637/jss.v077.i01.
Zhang, J. (2024). Forecasting Chinese Government Bond Yield Curves: An Empirical Comparison of DNS (Dynamic-Nelson-Siegel) Model and Machine Learning Approaches [master’s thesis, University of Chicago].